<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="英雄快躲,菠萝玩,菠萝玩公众平台,HTML5"/>
<head>
    <title>英雄快躲 - 菠萝玩公众平台</title>
    <script type="text/javascript" src="cocos2d-js-v3.6-lite.js" charset="UTF-8"></script>
</head>
<body>
    <canvas id="gameCanvas" width="640" height="1136"></canvas>
    <script type="text/javascript">
          window.onload = function(){
              cc.game.onStart = function(){
                  //load resources
                  cc.LoaderScene.preload([], function () {
                      var MyScene = cc.Scene.extend({
                          onEnter:function () {
                              this._super();
                              Mlog.c("ok1111");
                              var baseLayer = new MainLayer();
                              this.addChild(baseLayer);
                          }
                      });
                      cc.director.runScene(new MyScene());
                  }, this);
              };
              cc.game.run("gameCanvas");
          };
    </script>
</body>
</html>